package com.hson.demo.soa.service.remote;

import org.springframework.stereotype.Service;
import com.hson.demo.base.remote.hessian.annotations.HessianServer;
import com.hson.demo.soa.remote.TestServiceRemote;

@Service
//@HessianServer
public class TestServiceRemoteImpl implements TestServiceRemote{

	@Override
	public String hello(String name) {
		System.out.println("------------------");
		return "hello, "+ name + ", now 2017!"; 
	}

}
